]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
4 years agoinputMethod: Update to set_preedit_text() API change
Carlos Garnacho [Mon, 18 Jul 2022 13:11:49 +0000 (15:11 +0200)]
inputMethod: Update to set_preedit_text() API change

Since IBus does not provide this information right away, we
so far cannot do much about providing a truthful anchor position
for the preedit text. But with the Mutter API in place it will
be up to this object to do so in the future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2384>

4 years agolint: Transition to gjs' object spacing rule
Florian Müllner [Sun, 10 Jul 2022 00:49:53 +0000 (02:49 +0200)]
lint: Transition to gjs' object spacing rule

When gjs overhauled its coding style, it opted for disallowing
spaces around braces in object literals: `{foo: 42}`.

We opted out of that particular rule in commit 09b8e8f, primarily
because it would have been a very intrusive change with the old
style of object literals:

```js
   let oldStyle = { foo: 42,
                    bar: 23 };
```

Alas, all multi-line object literals have been transitioned to
the new style where braces go on separate lines, so they are no
longer subject to the rule one way or the other.

Nowadays the rule mostly affects destructuring, and there it
is a bit odd to apply different spacing rules to arrays and
objects:

```js
    const [foo, bar] = someArray;
    const { baz, quz } = someObject;
```

This is now the main divergence from the canonical gnome style,
and the only one where we directly contradict it.

It would be good to transition away from that, and as the rule
now only affect destructuring and single-line object literals,
we can do that on a case-by-case bases by moving the override
to the legacy configuration.

As desctructuring imports makes up a fair share of the affected
code, and those will change when moving to ES6 modules, this
seems like a good moment to start that transition.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2375>

4 years agoUpdate Catalan translation
Jordi Mas [Sun, 17 Jul 2022 07:38:25 +0000 (09:38 +0200)]
Update Catalan translation

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Fri, 15 Jul 2022 22:30:09 +0000 (22:30 +0000)]
Update Turkish translation

4 years agoci: Bump mutter image
Florian Müllner [Fri, 15 Jul 2022 16:58:05 +0000 (18:58 +0200)]
ci: Bump mutter image

Mutter requires a more recent wayland-protocols version now,
update to the image that provides it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2381>

4 years agotheme: Center access dialog text
Georges Basile Stavracas Neto [Tue, 12 Jul 2022 17:44:37 +0000 (14:44 -0300)]
theme: Center access dialog text

Makes the now fully visible label match the rest of the dialog's
labels.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2377>

4 years agoaccessDialog: Allow body label to wrap lines
Georges Basile Stavracas Neto [Tue, 12 Jul 2022 16:37:56 +0000 (13:37 -0300)]
accessDialog: Allow body label to wrap lines

Allow the body label of the access dialog to wrap, and avoid
ellipsizing it.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5286

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2377>

4 years agonotificationDaemon: Stop auto-dismissing on focus changes
Florian Müllner [Sun, 12 Jun 2022 16:27:34 +0000 (18:27 +0200)]
notificationDaemon: Stop auto-dismissing on focus changes

This behavior dates back all the way to the original gnome-shell
release, and it did make sense at the time:

 - we were first to make notifications persistent instead of
   closing them after a timeout; apps were therefore used to
   treat notifications as fire-and-forget instead of closing
   them when no longer relevant

 - neither web notifications not portals did exist yet, so the
   D-Bus API was only used directly, instead of as a backend
   for other APIs; as a result, focusing the app was more likely
   than not to put the source of the event that the user was
   notified about into view

Nowadays both persistent notifications and web notifications
are wide-spread, so the original reasons no longer apply.

This change helps web notifications in particular, as it reduces
the differences between XDG and portal-based implementations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2332>

4 years agoextensions-app: Use apps.gnome.org as website
Christopher Davis [Wed, 13 Jul 2022 21:10:25 +0000 (17:10 -0400)]
extensions-app: Use apps.gnome.org as website

apps.gnome.org provides a more user-friendly overview of
the Extensions app than linking to the source code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2373>

4 years agoextensions-app: Port about to AdwAboutWindow
Christopher Davis [Sat, 9 Jul 2022 14:23:12 +0000 (10:23 -0400)]
extensions-app: Port about to AdwAboutWindow

libadwaita has a new About window, and GNOME apps are expected
to use it going forward instead of GtkAboutDialog.

Comments are meant to be detailed, and are no longer shown in the
main view. So we remove the old comments.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2373>

4 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 12 Jul 2022 11:04:25 +0000 (11:04 +0000)]
Update Indonesian translation

4 years agoextensions: Allow updating with only extension-manager installed
Matthew Jakeman [Fri, 1 Jul 2022 11:24:08 +0000 (23:24 +1200)]
extensions: Allow updating with only extension-manager installed

GNOME Shell will only update extensions if the org.gnome.Extensions
app is present. This commit adds alternative support for
com.mattjakeman.ExtensionManager to the extension updating mechanism.

It enables updates to occur when extension-manager is the sole installed
tool on the system. When both applications are installed,
org.gnome.Extensions is preferred at all times.

Fixes #5564

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2358>

4 years agobuild: Specify check kwarg in run_command
Florian Müllner [Sun, 10 Jul 2022 13:17:19 +0000 (15:17 +0200)]
build: Specify check kwarg in run_command

Meson now warns that the default will change in a future version,
so set it explicitly to maintain the existing behavior (and shut
up the meson warning).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2350>

4 years agobuild: Use multi-line string for embedded code
Florian Müllner [Tue, 28 Jun 2022 16:59:05 +0000 (18:59 +0200)]
build: Use multi-line string for embedded code

Newer meson versions complain about newline characters in regular
strings, so switch to a proper multi-line string.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2350>

4 years agoendSessionDialog: Small cleanup
Florian Müllner [Fri, 8 Jul 2022 19:36:07 +0000 (21:36 +0200)]
endSessionDialog: Small cleanup

Array.prototype.push() returns the new number of elements, so
no need to track the number separately.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2369>

4 years agoci: Remove BUNDLES variable from nightly job
Florian Müllner [Sat, 9 Jul 2022 18:40:15 +0000 (20:40 +0200)]
ci: Remove BUNDLES variable from nightly job

The template stopped using it 3 years ago.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2374>

4 years agoBump version to 43.alpha
Florian Müllner [Sun, 10 Jul 2022 12:17:31 +0000 (14:17 +0200)]
Bump version to 43.alpha

Update NEWS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2376>

4 years agosystemActions: Disable power-off if querying support fails
Florian Müllner [Sat, 9 Jul 2022 12:01:17 +0000 (14:01 +0200)]
systemActions: Disable power-off if querying support fails

Treating failure as success is weird. It's also most likely wrong,
as the most likely reason is that gnome-session isn't running.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2372>

4 years agodateMenu: Remove custom aligning of time strings in the World Clocks
Maksym Hazevych [Mon, 20 Jun 2022 14:43:09 +0000 (17:43 +0300)]
dateMenu: Remove custom aligning of time strings in the World Clocks

Since now Glib uses tabular space for aligning numbers (merged in
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2698), there is no
more need for custom aligning.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5438

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2340>

4 years agoRevert "ci: Allow flatpak job to fail"
Florian Müllner [Mon, 4 Jul 2022 19:03:24 +0000 (21:03 +0200)]
Revert "ci: Allow flatpak job to fail"

The issue with the nightly runtime has been resolved, so we
can again assume that any job failures are our fault and fail
the pipeline.

This reverts commit b6fe92aca82dea60656e38bc8657ef23ceccb08a.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2362>

4 years agoshell/app: Fix small memory leak in get_pids()
Sebastian Keller [Wed, 6 Jul 2022 17:34:23 +0000 (19:34 +0200)]
shell/app: Fix small memory leak in get_pids()

The iterator was pointing to NULL when going out of scope, leading to
autofree not clearing the list.

==300183== 32 bytes in 2 blocks are definitely lost in loss record 14,798 of 38,939
==300183==    at 0x484586F: malloc (vg_replace_malloc.c:381)
==300183==    by 0x4D7D980: g_malloc (gmem.c:127)
==300183==    by 0x4D95AB3: g_slice_alloc (gslice.c:1074)
==300183==    by 0x4D96D96: g_slist_prepend (gslist.c:282)
==300183==    by 0x487854F: shell_app_get_windows (shell-app.c:794)
==300183==    by 0x48791A1: shell_app_get_pids (shell-app.c:1201)
==300183==    by 0x488B293: shell_window_tracker_get_app_from_pid (shell-window-tracker.c:702)
==300183==    by 0x488B632: get_app_from_window_pid (shell-window-tracker.c:370)
==300183==    by 0x488B632: get_app_for_window (shell-window-tracker.c:436)
==300183==    by 0x488B632: track_window (shell-window-tracker.c:549)
==300183==    by 0x4CDBB75: g_cclosure_marshal_VOID__OBJECTv (gmarshal.c:1910)
==300183==    by 0x4CD8BE9: _g_closure_invoke_va (gclosure.c:893)
==300183==    by 0x4CF2A28: g_signal_emit_valist (gsignal.c:3406)
==300183==    by 0x4CF2C2C: g_signal_emit (gsignal.c:3553)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2367>

4 years agoci: Switch ESLint rule eqeqeq to smart mode
Evan Welsh [Tue, 5 Jul 2022 16:13:15 +0000 (12:13 -0400)]
ci: Switch ESLint rule eqeqeq to smart mode

This allows comparisons like != null and == null while still erroring
on other usages of == and !=.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2363>

4 years agoenvironment: Remove inline import of extensionUtils
Evan Welsh [Tue, 5 Jul 2022 16:11:46 +0000 (12:11 -0400)]
environment: Remove inline import of extensionUtils

The logging function cannot be asynchronous, so move the override
into main.js where ExtensionUtils can be imported at the top level.
Importing ExtensionUtils in environment.js at the top level is not
possible because it would import Main prematurely.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2363>

4 years agoextensionUtils: Add utility for setting the current extension
Evan Welsh [Tue, 5 Jul 2022 16:09:26 +0000 (12:09 -0400)]
extensionUtils: Add utility for setting the current extension

ES modules do not allow exports to be overriden, in anticipation
of the ESM port add a `setCurrentExtension` utility which will
throw if used in the shell. This is tested using a conditional
import of Main.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2363>

4 years agojs/main: Use warning log level for notifyError
Marco Trevisan (Treviño) [Mon, 2 Sep 2019 14:44:37 +0000 (16:44 +0200)]
js/main: Use warning log level for notifyError

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/697>

4 years agomain: Define a custom log writer to dump on structured messages
Marco Trevisan (Treviño) [Mon, 2 Sep 2019 15:05:27 +0000 (17:05 +0200)]
main: Define a custom log writer to dump on structured messages

Even though GNOME Shell is not explicitly using structured logging via
G_LOG_USE_STRUCTURED, GLib uses it as default since 2016 [1], and so
we're de facto using it.

As per this, if backtrace on warnings is enabled, it is ignored since the
log handler isn't used anymore, and no dump is printed.

Thus, replace the default log handlers with writer functions instead, honoring
backtrace-warnings debug string.

[1] https://gitlab.gnome.org/GNOME/glib/-/commit/fce7cfaf40b6e1e50c9140aa0397f5

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/697>

4 years agosignalTracker: Use a const variable to hold the tracked object value
Marco Trevisan (Treviño) [Wed, 6 Jul 2022 15:59:39 +0000 (17:59 +0200)]
signalTracker: Use a const variable to hold the tracked object value

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>

4 years agosignalTracker: Correctly guard against invalid GObject.ConnectFlags
Marco Trevisan (Treviño) [Wed, 6 Jul 2022 15:55:46 +0000 (17:55 +0200)]
signalTracker: Correctly guard against invalid GObject.ConnectFlags

We considered any ConnectFlag value major than SWAPPED as invalid, while
it's technically not fully true as we need to ensure that the passed
value is respecting the whole flags mask.
In fact, per se SWAPPED|AFTER (> SWAPPED) is a valid value (even if we
don't support the AFTER value).

But this makes the check more future-proof.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>

4 years agosignalTracker: Avoid getting the same owner object proto multiple times
Marco Trevisan (Treviño) [Wed, 6 Jul 2022 15:50:57 +0000 (17:50 +0200)]
signalTracker: Avoid getting the same owner object proto multiple times

While untracking an object we used to compute it's proto for each signal
we were disconnecting from, while this is not needed when we're just
iterating over all the same owner signals, so let's add few more
functions to compute an object prototype, and repeat the disconnections
in the simplest way we can.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>

4 years agosignalTracker: Avoid creating a temporary keys array when clearing
Marco Trevisan (Treviño) [Wed, 6 Jul 2022 15:47:14 +0000 (17:47 +0200)]
signalTracker: Avoid creating a temporary keys array when clearing

We used to create a temporary array of signal tracker keys and then to
iterate through them in order to untrack the objects, but the Map's can
be iterated directly so let's just use their native forEach.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>

4 years agosignalTracker: Avoid doing two maps lookups once they're initialized
Marco Trevisan (Treviño) [Wed, 6 Jul 2022 15:44:48 +0000 (17:44 +0200)]
signalTracker: Avoid doing two maps lookups once they're initialized

Avoid checking if a map contains a value, given that in the case it's
not there, get() will just return an undefined value. And only in such
case we need to set the value.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2366>

4 years agoUpdate Catalan translation
Jordi Mas [Wed, 6 Jul 2022 09:42:25 +0000 (11:42 +0200)]
Update Catalan translation

4 years agodbusServices: Refactor service utilities from fileUtils into dbusUtils
Evan Welsh [Tue, 5 Jul 2022 07:25:02 +0000 (03:25 -0400)]
dbusServices: Refactor service utilities from fileUtils into dbusUtils

To enable porting services to ECMAScript modules independently of
the shell, split DBus service utility functions into a new file,
dbusUtils.js

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2365>

4 years agoAdopt EventEmitter class instead of injecting Signal methods
Evan Welsh [Mon, 4 Jul 2022 22:30:44 +0000 (18:30 -0400)]
Adopt EventEmitter class instead of injecting Signal methods

Introduce a new class, EventEmitter, which implements signal
handling for pure JavaScript classes. EventEmitter still
utilizes GJS' addSignalMethods internally.

EventEmitter allows static typechecking to understand the
structure of event-emitting JS classes and makes creating
child classes simpler.

The name 'EventEmitter' mirrors a common name for this pattern
in Node and in JS libraries.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2043>

4 years agoci: Try falling back to stable branch before HEAD
Florian Müllner [Fri, 6 May 2022 14:45:20 +0000 (16:45 +0200)]
ci: Try falling back to stable branch before HEAD

For non-MR pipelines, we check for a matching branch or tag name
in mutter. As we use the same naming policy for stable branches
and branch at about the same time, this works generally fine for
branches.

However for tags, it is less unlikely that there is no matching
tag in mutter, in particularly late in a stable cycle when most
changes are translation updates (which are much rare in mutter
than gnome-shell).

Before falling back to main (which is doomed to fail in that case),
try to guess the correct stable branch based on the tag name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2293>

4 years agoscreenshot: Always raise UI to top when opening
Alynx Zhou [Mon, 4 Jul 2022 04:01:41 +0000 (12:01 +0800)]
screenshot: Always raise UI to top when opening

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>

4 years agoibusCandidatePopup: Prevent it from covering screenshot UI
Alynx Zhou [Mon, 4 Jul 2022 03:59:43 +0000 (11:59 +0800)]
ibusCandidatePopup: Prevent it from covering screenshot UI

If we only raise screenshot UI to top, ibusCandidatePopup can still
cover screenshot UI because each time ibusCandidatePopup updates it's
visibility it will raise it to top and this also happens if we open
screenshot UI via keybinding. This commit fixes it by only raising it
above keyboardBox, because keyboardBox is above all entries in modal
dialogs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>

4 years agoibusCandidatePopup: Init it as a top chrome
Alynx Zhou [Mon, 4 Jul 2022 03:57:36 +0000 (11:57 +0800)]
ibusCandidatePopup: Init it as a top chrome

ibusCandidatePopup actually works as a top chrome because it always
raises itself above top_window_group when updating visibility, so just
initing it as a top chrome instead of initing it below top_window_group.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>

4 years agoUpdate Czech translation
Vojtěch Perník [Mon, 4 Jul 2022 13:07:52 +0000 (13:07 +0000)]
Update Czech translation

4 years agoUpdate Russian translation
Aleksandr Melman [Mon, 4 Jul 2022 12:41:16 +0000 (12:41 +0000)]
Update Russian translation

4 years agokeyboard: Fix updating suggestions visibility
Florian Müllner [Sun, 3 Jul 2022 14:44:39 +0000 (16:44 +0200)]
keyboard: Fix updating suggestions visibility

Commit 237ba24dbeae added corresponding API to the keyboard actor,
but ended up calling it on the KeyboardManager.

Add the expected method to KeyboardManager that forwards the request
to the keyboard.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5630

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2359>

4 years agolayout: Force size of overviewGroup
Florian Müllner [Thu, 30 Jun 2022 13:36:47 +0000 (15:36 +0200)]
layout: Force size of overviewGroup

The overviewGroup's size is currently determined by the coverPane
actor. That actor is only shown during transitions, so we rely on
ClutterFixedLayout including hidden children in its size request.

That odd behavior is about to change, so we need to make sure the
overview still requests the correct size.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2351>

4 years agolayout: Use constraint to resize screenShieldGroup
Florian Müllner [Thu, 30 Jun 2022 13:29:55 +0000 (15:29 +0200)]
layout: Use constraint to resize screenShieldGroup

We want the actor to always fill the entire uiGroup. It seems
better and simpler to express that with a contraint than resizing
it explicitly on every monitor change.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2351>

4 years agoibusManager: Avoid double fork triggering parent death in ibus
oreo639 [Mon, 27 Jun 2022 20:38:55 +0000 (13:38 -0700)]
ibusManager: Avoid double fork triggering parent death in ibus

Use DO_NOT_REAP_CHILD to avoid a double-fork internally since ibus-daemon
refuses to start with init as its parent.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2345>

4 years agoibusManager: Pass on envrionment variables to ibus-daemon
oreo639 [Mon, 27 Jun 2022 00:56:48 +0000 (17:56 -0700)]
ibusManager: Pass on envrionment variables to ibus-daemon

Previously only DISPLAY was being passed on to ibus, which results in issues
with missing the WAYLAND_DISPLAY or the DBUS_SESSION_BUS_ADDRESS environemnt
variables for example.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2345>

4 years agoibusManager: Don't use GNOME_SETUP_DISPLAY
oreo639 [Fri, 1 Jul 2022 19:16:56 +0000 (12:16 -0700)]
ibusManager: Don't use GNOME_SETUP_DISPLAY

GNOME_SETUP_DISPLAY is only necessary when using xwayland on demand,
which is only supported on systemd, in which case you should consider
using the user service provided by ibus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2345>

4 years agoosk-layouts: Use AZERTY in Belgian layout
Evert Provoost [Wed, 15 Jun 2022 21:45:33 +0000 (21:45 +0000)]
osk-layouts: Use AZERTY in Belgian layout

The regular `be` layout uses AZERTY like `fr`, so it makes sense
to follow that in the on-screen layout instead of copying the
Dutch layout.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2336>

4 years agowindowManager: Handle window dimming animation getting cancelled
Jonas Dreßler [Thu, 30 Jun 2022 07:40:51 +0000 (09:40 +0200)]
windowManager: Handle window dimming animation getting cancelled

When a window with a modal dialog gets minimized and at the same time
the dialog is closed, the WindowDimmer undim animation starts and gets
cancelled when the minimize animation is done, because that unmaps the
window actor.

In this case we want ensure the dimming effect still goes into a
proper state instead of being stuck mid-animation, so listen to
onStopped instead of onComplete for syncing state of the window dimmer.

While at it, clean things up a little and move the check for the
attach-modal-dialogs pref inside the _syncEnabled() function.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5581

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2349>

4 years agoRevert "windowManager: Undim parent when minimizing attached modal"
Jonas Dreßler [Wed, 29 Jun 2022 17:56:25 +0000 (19:56 +0200)]
Revert "windowManager: Undim parent when minimizing attached modal"

This reverts commit 78a7cc18360e2330c8d45502670d01e22d5128f2.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2349>

4 years agoci: Allow flatpak job to fail
Florian Müllner [Sat, 2 Jul 2022 00:01:56 +0000 (02:01 +0200)]
ci: Allow flatpak job to fail

The nightly runtime was rebased on a newer freedesktop base, and
all hell broke loose. Unblock our CI by temporarily allowing the
flatpak job to fail.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2355>

4 years agoibusCandidatePopup: Set OSK candidates list visibility correctly
Carlos Garnacho [Wed, 29 Jun 2022 11:06:07 +0000 (13:06 +0200)]
ibusCandidatePopup: Set OSK candidates list visibility correctly

Right now, we don't pay much attention to visibility hints from IBus
about the candidates list for the OSK suggestions bar. Since some
IMs rely on this visibility being honored, do that.

To fix this, the visibility hints for the lookup table are now
propagated to the keyboard, so the Suggestions actor hides its
internal candidate buttons. Since the Suggestions actor gets its
minimum height from CSS, this does not result in OSK size jumps.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5601
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2347>

4 years agokeyboard: Set ornament on selected item in OSK languages popup menu
Carlos Garnacho [Mon, 27 Jun 2022 11:55:34 +0000 (13:55 +0200)]
keyboard: Set ornament on selected item in OSK languages popup menu

There is no hint about the currently selected language, but this exists
in the mockups. Add a dot ornament on the language that is currently
selected at the time of showing the OSK languages popup.

Since this popup is created from scratch every time it is shown, and
the popup is torn down with the OSK during replacement. This also
works for further times the languages popup is shown.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5598
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2346>

4 years agoUpdate Russian translation
Aleksandr Melman [Sat, 25 Jun 2022 18:31:42 +0000 (18:31 +0000)]
Update Russian translation

4 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 22 Jun 2022 09:22:29 +0000 (11:22 +0200)]
Updated Spanish translation

4 years agowindowManager: Undim parent when minimizing attached modal
Florian Müllner [Thu, 16 Jun 2022 20:35:56 +0000 (22:35 +0200)]
windowManager: Undim parent when minimizing attached modal

Minimizing modal dialogs is highly unconventional - and in fact
disabled in our own code - but apps can still do it programmatically.

The parent window shouldn't remain dimmed in that case, so make
sure to re-check dimming when minimizing an attached modal.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5581

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2337>

4 years agoportalHelper: Switch to soup3-based WebKitGTK
Florian Müllner [Fri, 17 Jun 2022 16:48:30 +0000 (18:48 +0200)]
portalHelper: Switch to soup3-based WebKitGTK

The soup2-based version will be discontinued soon, so simply
switch to the (API-compatible) soup3-based version.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2338>

4 years agobuild: Default to soup3
Florian Müllner [Fri, 17 Jun 2022 16:28:53 +0000 (18:28 +0200)]
build: Default to soup3

Soup3 support was added a while ago, but until now we still
defaulted to the old soup2. For GNOME 43, the default should
be switched[0], so do that.

[0] https://discourse.gnome.org/t/please-build-against-libsoup-3-by-default/10190/2

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2338>

4 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 20 Jun 2022 19:20:15 +0000 (22:20 +0300)]
Updated Lithuanian translation

4 years agostyle: Fix margin and color problems in the close buttons
Sam Hewitt [Tue, 31 May 2022 12:33:58 +0000 (10:03 -0230)]
style: Fix margin and color problems in the close buttons

- align the screenshot close button better
- use color changes consistent with other elements

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Add missing transition timings
Sam Hewitt [Fri, 27 May 2022 18:09:45 +0000 (15:39 -0230)]
style: Add missing transition timings

- fixes #5211

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agonm-dialog: Fix icon spacing issue
Sam Hewitt [Fri, 27 May 2022 17:19:26 +0000 (14:49 -0230)]
nm-dialog: Fix icon spacing issue

- fixes #4928

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Remove shadow on switch users button
Sam Hewitt [Fri, 27 May 2022 17:07:33 +0000 (14:37 -0230)]
style: Remove shadow on switch users button

- removes a dropshadow from the switch users button on the lockscreen

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Fix rtl oversight on lockscreen notifications
Sam Hewitt [Fri, 27 May 2022 16:05:12 +0000 (13:35 -0230)]
style: Fix rtl oversight on lockscreen notifications

- Fixes #5152

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Neutral style for hotcorner ripple
Sam Hewitt [Fri, 27 May 2022 15:55:32 +0000 (13:25 -0230)]
style: Neutral style for hotcorner ripple

- fixes #5443

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agostyle: Adjust close button style
Sam Hewitt [Fri, 27 May 2022 15:54:28 +0000 (13:24 -0230)]
style: Adjust close button style

- fixes #5481

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>

4 years agokbdA11yDialog: Use MetaKeyboardA11yFlags
Olivier Fourdan [Tue, 14 Jun 2022 14:38:27 +0000 (16:38 +0200)]
kbdA11yDialog: Use MetaKeyboardA11yFlags

The change in mutter to move keyboard accessibility into backends needs
to be applied in gnome-shell as well, otherwise the keyboard
accessibility dialog cannot work.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2306
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2334>

4 years agoUpdate Catalan translation
Jordi Mas [Tue, 14 Jun 2022 21:08:11 +0000 (23:08 +0200)]
Update Catalan translation

4 years agoUpdate Italian translation
Milo Casagrande [Tue, 14 Jun 2022 15:31:06 +0000 (15:31 +0000)]
Update Italian translation

(cherry picked from commit 2b7b4c32949d0528e94ece8dabeabb7e65079f57)

4 years agoUpdate Occitan translation
Quentin PAGÈS [Thu, 9 Jun 2022 20:06:10 +0000 (20:06 +0000)]
Update Occitan translation

4 years agoappMenu: Hide overview when pressing on 'Show Details'
PhilProg [Tue, 7 Jun 2022 19:22:54 +0000 (19:22 +0000)]
appMenu: Hide overview when pressing on 'Show Details'

If the 'Show Details' in the app menu is pressed, the overview
will hide now, making it consistent with other launch actions.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5279

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2329>

4 years agost: Only notify on property changes
Florian Müllner [Fri, 3 Jun 2022 18:32:03 +0000 (20:32 +0200)]
st: Only notify on property changes

Since commit 5a23c96bd918 we use EXPLICIT_NOTIFY for properties,
however there are still cases where we still notify unconditionally
from the setter, because we don't check the existing value first.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2325>

4 years agostyle: High-contrast fixes and color adjustments
Sam Hewitt [Tue, 26 Apr 2022 18:19:41 +0000 (15:49 -0230)]
style: High-contrast fixes and color adjustments

- pull in the palette changes to the HC css
- adjust the color definitions for HC
- address some of the problems with hover states in HC
- reworked drawing functions for HC

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2284>

4 years agoshell: Do not create a systemd scope when using D-Bus app launching
msizanoen1 [Thu, 26 May 2022 06:15:06 +0000 (13:15 +0700)]
shell: Do not create a systemd scope when using D-Bus app launching

Applications launched using D-Bus activation will have a returned PID of
0, which systemd interprets as moving the requesting process to a new
scope, causing GNOME Shell to be moved to another scope. Fix this by not
creating a systemd scope when PID is 0.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2305>

4 years agoscreenshot: Fall back to home if Pictures directory is not available
Sam Uong [Mon, 6 Jun 2022 10:45:25 +0000 (10:45 +0000)]
screenshot: Fall back to home if Pictures directory is not available

GLib.get_user_special_dir() returns null if user directories are
disabled. Instead of failing silently, fall back to saving screenshots
in $HOME/Screenshots in that case

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5549

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2327>

4 years agoUpdate German translation
Jürgen Benvenuti [Sun, 5 Jun 2022 20:22:37 +0000 (20:22 +0000)]
Update German translation

4 years agomessageList: Only close messages via delete key if they can be closed
PhilProg [Fri, 3 Jun 2022 04:53:11 +0000 (04:53 +0000)]
messageList: Only close messages via delete key if they can be closed

If the delete key is pressed while a message/MPRIS indicator is focused
GNOME now asks whether the message/MPRIS indicator is closable.
If yes it will be closed but if not it won't be closed.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5536

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2323>

4 years agotheme: Hardcode osd bg color
Jakub Steiner [Tue, 31 May 2022 06:45:26 +0000 (08:45 +0200)]
theme: Hardcode osd bg color

- osd needs to work for both light & dark contexts

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5537

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2315>

4 years agoUpdate French translation
Irénée THIRION [Fri, 3 Jun 2022 14:08:57 +0000 (14:08 +0000)]
Update French translation

4 years agoUpdate Friulian translation
Fabio Tomat [Fri, 3 Jun 2022 08:22:23 +0000 (08:22 +0000)]
Update Friulian translation

4 years agomagnifier: Include SSD when calculating screen coordinates for events
Sebastian Keller [Tue, 31 May 2022 16:18:45 +0000 (18:18 +0200)]
magnifier: Include SSD when calculating screen coordinates for events

When calculating the on screen coordinates of events from the window
relative coordinates, using the frame rect will include the decorations
added by the WM for SSD windows. This was causing the calculated
coordinates to be slightly off. Fix this by using the client rect for
SSD windows.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2319>

4 years agorunDialog: Use single quotes for Wayland restart warning
Jonas Ådahl [Tue, 31 May 2022 11:10:16 +0000 (13:10 +0200)]
runDialog: Use single quotes for Wayland restart warning

The API was changed to take a pointer to a MetaContext, in order to have
a better way to fetch the MetaDisplay instance it needs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2316>

4 years agorunDialog: Pass context to Meta.restart()
Jonas Ådahl [Tue, 31 May 2022 10:59:56 +0000 (12:59 +0200)]
runDialog: Pass context to Meta.restart()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2316>

4 years agobuild: Bump mutter API version
Florian Müllner [Tue, 31 May 2022 13:24:51 +0000 (15:24 +0200)]
build: Bump mutter API version

We started a new development cycle when branching, reflect that by
bumping the mutter API version.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2317>

4 years agoUpdate Hebrew translation
Yosef Or Boczko [Mon, 30 May 2022 18:24:12 +0000 (18:24 +0000)]
Update Hebrew translation

4 years agoUpdate Occitan translation
Quentin PAGÈS [Mon, 30 May 2022 16:53:47 +0000 (16:53 +0000)]
Update Occitan translation

4 years agoUpdate Russian translation
Aleksandr Melman [Mon, 30 May 2022 16:25:31 +0000 (16:25 +0000)]
Update Russian translation

4 years agomagnifier: Request window-relative coordinates for focus/caret events
Sebastian Keller [Mon, 23 May 2022 21:01:23 +0000 (23:01 +0200)]
magnifier: Request window-relative coordinates for focus/caret events

Absolute screen coordinates are impossible for Wayland clients to
provide, because the clients don't know where the window is positioned.
Some clients, such as the ones using GTK 3 were providing window
relative coordinates even when screen coordinates were requested,
while others, such as GTK 4 clients, were just returning an error for
caret events or also window-relative coordinates for focus events.

So for this to work on Wayland we have to request window-relative
coordinates and translate them to the current focus window.

To ensure the correct coordinates, we have to only consider events
coming from the current focus window. All other events are filtered out
now. As a side effect this also fixes the magnifier always jumping
to a terminal cursor whenever there was some output, even if the window
was not focused.

This also needs some special handling for events coming from the shell
itself, which should not be translated to the focus window either. As
another side effect this fixes another bug that was caused by these
events already including scaling and getting scaled again.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5509
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2301>

4 years agoUpdate Chinese (China) translation
Luming Zh [Sat, 28 May 2022 02:35:59 +0000 (02:35 +0000)]
Update Chinese (China) translation

4 years agokeyboard: Set up OSK edge drag gesture on capture phase
Carlos Garnacho [Tue, 24 May 2022 20:22:05 +0000 (22:22 +0200)]
keyboard: Set up OSK edge drag gesture on capture phase

This makes the gesture able to get the events that would otherwise
be meant for the background actor or client window.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5335
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agoedgeDragAction: Change edge trigger threshold to AFTER
Carlos Garnacho [Wed, 25 May 2022 18:54:39 +0000 (20:54 +0200)]
edgeDragAction: Change edge trigger threshold to AFTER

For all instances of this gesture, we want this gesture to
activate after some distance, not to eat button presses/releases
right away.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agokeyboard: Set up emoji panel pan gesture in capture phase
Carlos Garnacho [Tue, 24 May 2022 20:07:27 +0000 (22:07 +0200)]
keyboard: Set up emoji panel pan gesture in capture phase

We need this to catch events before they reach to the emoji
keys, and the gesture can begin/end properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2304>

4 years agokeyboard: Reset height before requesting preferred height
Jonas Dreßler [Thu, 26 May 2022 16:13:12 +0000 (18:13 +0200)]
keyboard: Reset height before requesting preferred height

If we don't set the height property to -1 before requesting the
preferred height, get_preferred_height() will just return us the fixed
height that has been set before. We don't want this behavior here, so
set the height to -1 before calling get_preferred_height().

This fixes a resizing issue where the keyboard is sized incorrectly
after switching the monitor into portrait mode and back.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2306>

4 years agoUpdate Portuguese translation
Hugo Carvalho [Tue, 24 May 2022 18:34:00 +0000 (18:34 +0000)]
Update Portuguese translation

4 years agoUpdate Portuguese translation
Hugo Carvalho [Tue, 24 May 2022 14:43:47 +0000 (14:43 +0000)]
Update Portuguese translation

4 years agoUpdate Persian translation
Danial Behzadi [Tue, 24 May 2022 12:10:35 +0000 (12:10 +0000)]
Update Persian translation

4 years agoUpdate Turkish translation
Emin Tufan Çetin [Tue, 24 May 2022 07:22:25 +0000 (07:22 +0000)]
Update Turkish translation

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 23 May 2022 19:51:17 +0000 (19:51 +0000)]
Update Ukrainian translation

4 years agoUpdate German translation
Christian Kirbach [Mon, 23 May 2022 19:14:36 +0000 (19:14 +0000)]
Update German translation

(cherry picked from commit 63f19252898e4515e6ca5f3145063f50514acf0f)

4 years agostatus/network: Show WireGuard connections in VPN list
Christian Glombek [Sun, 3 Oct 2021 17:49:27 +0000 (19:49 +0200)]
status/network: Show WireGuard connections in VPN list

With this change, WireGuard connections, and an on/off toggle button
or a status description for each are shown in the VPN section of the
Gnome Shell network status UI.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1995>

4 years agoUpdate Russian translation
Aleksandr Melman [Mon, 23 May 2022 12:27:35 +0000 (12:27 +0000)]
Update Russian translation